package com.teacher.pojo.dto.notice;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zfm
 * @date 2021/9/1 18:22
 */
@Data
public class NoticeAddDto {
    @NotBlank(message = "标题不能为空")
    private String title;
    @NotBlank(message = "内容不能为空")
    private String content;
    @NotNull(message = "公告状态")
    private Integer status;
}
